﻿@helper  GetHtml(string queryString = null)
    {
    <div class="main">
        <form method="post" data-ajax-success="Sk.Passport.Fun.loginCallback" data-ajax="true" action="/@queryString">
        <ul>
            <li>
                <label>
                    邮 箱：</label><input type="text" name="username" class="sk-ui-input" maxlength="20"
                        data-val="true" data-val-required="请输入您的E-Mail！" data-email="true" data-val-email="请输入正确的E-Mail！" />
                <span class="field-validation-error" data-valmsg-for="username" data-valmsg-replace="true">
                </span></li>
            <li>
                <label>
                    密 码：</label><input type="password" name="password" class="sk-ui-input" maxlength="18"
                        data-val="true" data-val-required="请输入您的密码！" />
                <span class="field-validation-error" data-valmsg-for="password" data-valmsg-replace="true">
                </span></li>
            <li>
                <label>
                    验证码：</label><input type="text" name="captcha" class="sk-ui-input sk-ui-input-captcha"
                        maxlength="4" data-val="true" data-val-required="请输入验证码！" data-val-length-min="4"
                        data-val-length-max="4" data-val-length="请输入验证码！" />
                <img class="sk-passport-login-captcha-img" src="/home/captcha" onclick="this.src='/home/captcha?'+Math.random();"
                    alt="点击刷新" />
                <span class="field-validation-error" data-valmsg-for="captcha" data-valmsg-replace="true">
                </span></li>
            <li class="m-tb-10">
                <button type="submit" class="sk-ui-btn sk-ui-btn-alpha">
                    登 录</button>
                <button type="button" class="sk-ui-btn sk-ui-btn-beta" onclick="window.top.location='/register';">
                    注 册
                </button>
            </li>
        </ul>
        </form>
        <div id="login-message" class="message">
        </div>
    </div>
    <div class="extra">
        <ul>
            <li>a</li><li>b</li></ul>
    </div>
}
